import fetch from '../service'

// 获取详情数据
export function getDetails(id: string) {
  return fetch.request({
    url: `/pro/detail/${id}`,
    method: 'get',
  })
}